package com.tutu.commons.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @Program: b2c-cloud-store
 * @Description: 商品类别服务
 * @Author: JK.TuTu
 * @Version: 1.0
 * @Create: 2022-12-15 11:12
 **/
@Data
@TableName("category")
public class Category implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "category_id", type = IdType.AUTO)
    private Integer categoryId;  //类别id


    @TableField("category_name")
    private String categoryName;  //类别名称
}
